package com.xzit.mapper;

import com.xzit.entity.Account;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AccountMapper {
    void insert2(Account account);
    List<Account> selectAll();
    Account login(@Param("account") String account, @Param("password") String password);
    void updateCoupon(@Param("account") String account, @Param("amount") int amount);
}